package com.ikas.ai.server.module.data.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ikas.ai.server.module.data.dorisDao.DorisYxDataDao;
import com.ikas.ai.server.module.data.model.doris.DorisYxData;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author cuihaodong
 */
@Service
@Slf4j
public class DorisYxDataService extends ServiceImpl<DorisYxDataDao, DorisYxData> {
    public List<DorisYxData> getYxsByMeteId(Long meteId) {
        LambdaQueryWrapper<DorisYxData> queryWrapper = new LambdaQueryWrapper<>();
        queryWrapper.eq(DorisYxData::getMeteId, meteId);
        return this.list(queryWrapper);
    }


}
